<template>
  <el-container>
    <!-- 侧边栏容器 -->
    <el-aside width="auto"  >
      <!-- <h1 style="width: 240px;color:white">Aside</h1> -->
      <left-menu></left-menu>
    </el-aside>
    <el-container>
      <!-- 头部容器 -->
      <el-header>
        <!-- <h1>Header</h1> -->
        <top-header></top-header>
      </el-header>
      <!-- 主要区域容器 -->
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
  <!-- 头部容器 -->
</template>
<script>
import LeftMenu from '@/components/comm/LeftMenu.vue';
import TopHeader from '@/components/comm/TopHeader.vue';

export default{
  name:'MainComponent',
  components:{
    LeftMenu,
    TopHeader
  },
  data(){
    return{

    }
  },
}
</script>

<style>

.el-container{
  height: 100%;
}

.el-header{
  background-color: #fff;
  color: #333;
}
.el-aside{
  background-color: #65C8B7;
  color: #333;
}

.el-main{
  background-color: #fff;
  color: #333;
  overflow-inline: hidden;
}
</style>